// pages/web/web.js
var app = getApp()
var util = require('../../utils/util.js')
var host = app.globalData.host
var self = null;

Page({
  data: {
    themeColor: '',
    defaultColor: '',
    borderColor: '',
    url: ''
  },
  onLoad: function (options) {
    self = this;
    self.getStyle();
    self.setData({
      url: options.url
    })
    console.log(self.data.url);
  },
  getStyle() {
    wx.setNavigationBarTitle({
      title: '出出帮火车奇妙世界'
    })
    self.setData({
      themeColor: app.globalData.themeColor,
      defaultColor: app.globalData.defaultColor,
      borderColor: app.globalData.borderColor
    })
  }
})
